<%@ Page Language="vb" AutoEventWireup="false" CodeFile="stat6.aspx.vb" Inherits="stat6" %>
<%@ Register TagPrefix="uc1" TagName="ucTestata" Src="../controlli/ucTestata.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>stat6</title><!--#Include File="../lib/calendar.asp"-->
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table id="tabella di contorno" style="BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; BORDER-BOTTOM: 1px"
					borderColor="#de0029" cellSpacing="0" cellPadding="0" width="700" border="1">
					<tr>
						<td width="100%" bgColor="#de0029">
							<!-- testata --><uc1:uctestata id="UcTestata1" runat="server"></uc1:uctestata>
							<!-- fine testata -->
							<table id="Table1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0"
								cellPadding="0" width="700" bgColor="#ffffff" border="0">
								<TBODY>
									<tr>
										<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
										<td width="15"><IMG height="10" src="../images/quadratino_rosso.gif" width="10"></td>
										<td width="655"><span class="titolo">Creazione guidata statistiche</span>
										</td>
									</tr>
									<tr>
										<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
									</tr>
								</TBODY>
							</table>
							<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#ffffff">
								<TBODY>
									<TR>
										<td colSpan="2"><IMG src="../images/x.gif" width="6"><span class="blu_bold">Creazione 
												filtro (3/4)</span></td>
									</TR>
									<tr>
										<td width="100%" colSpan="3" height="30"><IMG height="1" src="../images/x.gif" width="1"></td>
									</tr>
									<tr>
										<td width="100%" colSpan="3" height="5"><IMG height="5" src="../images/x.gif" width="1"></td>
									</tr>
								</TBODY>
							</TABLE>
							<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#fff8f9">
								<TBODY>
									<TR>
										<TD vAlign="top" width="6" bgColor="#ffffff"><IMG alt="" src="../images/x.gif"></TD>
										<TD vAlign="top" width="688" bgColor="#ffffff" colSpan="2" height="1">
											<TABLE cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff">
												<tr>
													<td><SPAN class="blu"><IMG height="7" src="../images/quadratino_blu.gif" width="7">&nbsp;<b>Scegli 
																tra quelli disponibili i campi che ti interessano</b></SPAN></td>
													<td>&nbsp;</td>
												</tr>
												<tr>
													<td width="80%" colSpan="2"><IMG height="2" src="../images/divisore.gif" width="550"></td>
												</tr>
												<tr>
													<td width="100%" colSpan="2"><IMG height="10" src="../images/x.gif" width="1"></td>
												</tr>
												<tr>
													<td style="HEIGHT: 18px" colSpan="2"><span class="nero"><asp:label id="lbRiep" runat="server" CssClass="blu"></asp:label><BR>
															<asp:label id="lbWhere" runat="server" CssClass="blu" Visible="False"></asp:label><BR>
															Tabella:</span>
														<asp:dropdownlist id="dTabelle" runat="server" CssClass="nero" AutoPostBack="True" DataValueField="tabella"
															DataTextField="etitabella"></asp:dropdownlist></td>
												</tr>
												<tr>
													<td width="100%" colSpan="2"><IMG height="10" src="../images/x.gif" width="1"></td>
												</tr>
												<tr>
													<td vAlign="top" bgColor="#fff8f9"><asp:datagrid id="dgCampi" runat="server" AllowPaging="True" PagerStyle-Position="Top" PagerStyle-Mode="NumericPages"
															PageSize="20" AutoGenerateColumns="False" Width="250px" AllowSorting="True" PagerStyle-CssClass="ordinato" BorderColor="#1A49A3"
															GridLines="Horizontal" BackColor="White">
															<Columns>
																<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
																<asp:BoundColumn DataField="etitabella" HeaderText="Tabella">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn Visible="False" DataField="campo" HeaderText="Campo">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn DataField="etichetta" HeaderText="Campo">
																	<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:TemplateColumn>
																	<ItemStyle Width="32px"></ItemStyle>
																	<ItemTemplate>
																		<asp:ImageButton Runat="server" ID="imgSalva" CommandName="salva_riga" ImageUrl="..\images\aggiungi_off.gif"></asp:ImageButton>
																		<asp:Label Runat="server" Visible="False" ID="lbSel">0</asp:Label>
																	</ItemTemplate>
																</asp:TemplateColumn>
																<asp:BoundColumn Visible="False" DataField="tipo"></asp:BoundColumn>
																<asp:BoundColumn Visible="False" DataField="vista"></asp:BoundColumn>
																<asp:BoundColumn Visible="False" DataField="tabella"></asp:BoundColumn>
															</Columns>
															<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
														</asp:datagrid></td>
													<td vAlign="top" width="315" bgColor="#fff8f9">
														<P><SPAN class="nero">Filtro:</SPAN>
															<asp:dropdownlist id="dWhere" runat="server" CssClass="nero" AutoPostBack="True">
																<asp:ListItem Value="AND">AND</asp:ListItem>
																<asp:ListItem Value="OR">OR</asp:ListItem>
															</asp:dropdownlist><asp:button id="btOk" runat="server" CssClass="nero" Text="aggiorna" Visible="False"></asp:button></P>
														<P><asp:datagrid id="dgWhere" runat="server" PagerStyle-Position="Top" PagerStyle-Mode="NumericPages"
																PageSize="20" AutoGenerateColumns="False" Width="100%" AllowSorting="True" PagerStyle-CssClass="ordinato"
																BorderColor="#1A49A3" GridLines="Horizontal" HeaderStyle-CssClass="nero_bold" ItemStyle-CssClass="nero"
																BackColor="White">
																<ItemStyle CssClass="nero"></ItemStyle>
																<HeaderStyle CssClass="blu" Font-Bold="True"></HeaderStyle>
																<Columns>
																	<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
																	<asp:BoundColumn Visible="False" DataField="tipo"></asp:BoundColumn>
																	<asp:BoundColumn Visible="False" DataField="vista"></asp:BoundColumn>
																	<asp:BoundColumn DataField="etitabella" HeaderText="Tabella"></asp:BoundColumn>
																	<asp:BoundColumn DataField="campo" HeaderText="Campo"></asp:BoundColumn>
																	<asp:BoundColumn DataField="opTab" HeaderText="Operatore"></asp:BoundColumn>
																	<asp:BoundColumn DataField="valoreTab" HeaderText="Valore"></asp:BoundColumn>
																	<asp:BoundColumn DataField="valore2Tab" HeaderText="Valore2"></asp:BoundColumn>
																	<asp:TemplateColumn>
																		<ItemStyle Width="32px"></ItemStyle>
																		<ItemTemplate>
																			<asp:ImageButton Runat="server" ID="Imagebutton1" CommandName="seleziona" ImageUrl="..\images\seleziona_off.gif"></asp:ImageButton>
																		</ItemTemplate>
																	</asp:TemplateColumn>
																	<asp:BoundColumn Visible="False" DataField="tabella"></asp:BoundColumn>
																</Columns>
																<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
															</asp:datagrid><br>
															<asp:textbox id="idFiltro" Runat="server" Visible="False"></asp:textbox><asp:repeater id="repFiltro" Runat="server">
																<ItemTemplate>
																	<asp:LinkButton CommandName="salvaFiltro" id="lkSalva" CssClass="blu" Runat="server"><img src="../images/salva_little.gif" border="0">&nbsp;salva</asp:LinkButton>&nbsp;
																	<asp:LinkButton CommandName="eliFiltro" id="lkEli" CssClass="blu" Runat="server"><img src="../images/elimina.gif" border="0">&nbsp;elimina</asp:LinkButton>
																</ItemTemplate>
															</asp:repeater></P>
													</td>
												</tr>
												<tr>
													<td align="right" colSpan="2" height="30"><font class="blu">
															<asp:linkbutton id="lkIndietro" CssClass="blu" Runat="server"><img src="../images/indietroRosso.gif" border="0">&nbsp;indietro</asp:linkbutton>&nbsp;
															<asp:linkbutton id="lkAvanti" CssClass="blu" Runat="server"><img src="../images/avantiRosso.gif" border="0">&nbsp;avanti</asp:linkbutton></font><font class="blu"></font><A href="cg2.htm"></A></td>
												</tr>
											</TABLE>
										</TD>
									</TR>
								</TBODY>
							</TABLE>
							<!-- chiusura tabella di bordo -->
							<TABLE id="chiusura" cellSpacing="0" cellPadding="0" width="100%">
								<tr>
									<td background="../images/chiusuraRossa.gif" height="15">
										<div align="center"><b><font face="Tahoma" color="#ffffff" size="1">Techno<i>service</i> 2005. 
													All rights reserved</font></b></div>
									</td>
								</tr>
							</TABLE>
						</td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</HTML>
